/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package neuronalenetzeelearning.view.help;

import atp.cHotEqn;
import java.awt.Dimension;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 *
 * @author maria
 */
public class HelpPanel extends JPanel{

    public HelpPanel(String filename) {
        JLabel helpLabel = new JLabel(new ImageIcon(filename));
        this.add(helpLabel);
//        cHotEqn mathComp = new cHotEqn(latexString);
//        this.add(mathComp);
        this.setVisible(true);
    }

    public static void main(String[] args) {
        JFrame test1 = new JFrame();
        test1.setPreferredSize(new Dimension(800, 800));
        test1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        test1.add(new HelpPanel("src/neuronalenetzeelearning/view/help/resources/linear-Sigmoid-Schwe.jpg"));
        test1.pack();
        test1.setVisible(true);
    }

}
